package com.whnk.attendance.domain;

import com.whnk.common.core.annotation.Excel;
import com.whnk.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
/**
 * 区域分类信息对象 area_info
 *
 * @author whnk
 * @date 2021-11-17
 */
public class AreaInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 交付区域编号 */
    private String areaId;

    /** 交付区域名称 */
    @Excel(name = "交付区域名称")
    private String areaName;

    /** 交付经理名称 */
    @Excel(name = "交付经理名称")
    private String areaManager;

    /** 隶属区域编号 */
    @Excel(name = "隶属区域编号")
    private String parentId;

    /** 区域级别 */
    @Excel(name = "区域级别")
    private Integer areaLevel;

    public void setAreaId(String areaId)
    {
        this.areaId = areaId;
    }

    public String getAreaId()
    {
        return areaId;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setAreaManager(String areaManager)
    {
        this.areaManager = areaManager;
    }

    public String getAreaManager()
    {
        return areaManager;
    }
    public void setParentId(String parentId)
    {
        this.parentId = parentId;
    }

    public String getParentId()
    {
        return parentId;
    }
    public void setAreaLevel(Integer areaLevel)
    {
        this.areaLevel = areaLevel;
    }

    public Integer getAreaLevel()
    {
        return areaLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("areaId", getAreaId())
            .append("areaName", getAreaName())
            .append("areaManager", getAreaManager())
            .append("parentId", getParentId())
            .append("areaLevel", getAreaLevel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
